import pandas as pd
import numpy as np

class regout(object):

	def __init__(self, **kwargs):
		self.__dict__.update(kwargs)



stat_names=['coeff', 'se', 't', 'p>t', 'CI_low', 'CI_high']
var_names=['mpg', 'length', ]
areg_std = regout(
summary=pd.DataFrame(np.array([
[-221.7118772462534,
92.44982055711751,
-2.398186128541752,
.0217841023009911,
-409.2088037098624,
-34.21495078264431,
],
[26.87059780428358,
27.27089677764448,
.9853213857752909,
.3310425190804239,
-28.43734435181426,
82.17853996038141,
],
]),
columns=stat_names,
index=var_names),
vce=pd.DataFrame(np.array([
[8546.969321043227,
1386.152836419678,
],
[1386.152836419678,
743.7018110569401,
],
]),
columns=var_names,
index=var_names),
N=51,
r2=.2706428078700199,
r2_a=-.0332560221841385,
mss=45779384.36530431,
tss=np.nan,
rss=123371182.4854894,
kappa=np.nan,
F=6.679265789418835,
pF=.0034113388273972,
)
areg_robust = regout(
summary=pd.DataFrame(np.array([
[-221.7118772462534,
107.6726039118124,
-2.059129891832496,
.0467716530581268,
-440.0820393097441,
-3.341715182762641,
],
[26.87059780428358,
25.37851363055508,
1.058793205758594,
.2967467758625452,
-24.59941344364574,
78.3406090522129,
],
]),
columns=stat_names,
index=var_names),
vce=pd.DataFrame(np.array([
[11593.38963315003,
1661.217997284032,
],
[1661.217997284032,
644.0689540962698,
],
]),
columns=var_names,
index=var_names),
N=51,
r2=.2706428078700199,
r2_a=-.0332560221841385,
mss=45779384.36530431,
tss=np.nan,
rss=123371182.4854894,
kappa=np.nan,
F=6.354414352280316,
pF=.0043301870908332,
)
areg_cluster = regout(
summary=pd.DataFrame(np.array([
[-221.7118772462534,
126.1113575899555,
-1.758064313026729,
.1041900769077557,
-496.48492113,
53.0611666374933,
],
[26.87059780428358,
20.23492532140688,
1.327931651709962,
.2089065255214493,
-17.21751709335599,
70.95871270192313,
],
]),
columns=stat_names,
index=var_names),
vce=pd.DataFrame(np.array([
[15904.07451318163,
1754.847842924423,
],
[1754.847842924423,
409.4522027629133,
],
]),
columns=var_names,
index=var_names),
N=51,
r2=.2706428078700199,
r2_a=-.0332560221841385,
mss=45779384.36530431,
tss=np.nan,
rss=123371182.4854894,
kappa=np.nan,
F=7.650388737405658,
pF=.0072116955739989,
)
